package com.webchat.ugc.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;


@RefreshScope
@Data
@Component
@ConfigurationProperties(prefix = "pay.config.red-packet")
public class PaymentAppConfig {

    private Long appId;

    private String accessKey;

    private String secretKey;
}
